package com.ht.medicaltreatment.adapter

import android.app.appsearch.SearchResult
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.ht.medicaltreatment.R
import com.ht.medicaltreatment.bean.SearchResultBean

class SearchResultAdapter:BaseQuickAdapter<SearchResultBean,BaseViewHolder>(R.layout.item_search_layout) {
    override fun convert(holder: BaseViewHolder, item: SearchResultBean) {
        holder.setText(R.id.tvName,item.assetName)
    }

}
